﻿using System;
using System.Collections.Generic;
using System.Xml;

namespace Indigox.CMS.Administration.Configuration
{
    public class XmlConfigurator : Indigox.Common.Configuration.XmlConfigurator
    {
        protected override void DoLoad( XmlReader reader )
        {
            Dictionary<string, ContentType> contentTypes = new Dictionary<string, ContentType>();

            using ( Schema.Default.WriteLock.Lock() )
            {
                Schema.Default.ContentTypes = contentTypes;
            }
        }
    }
}
